﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007BF RID: 1983
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRaidInfoScRsp : IMessage<GetRaidInfoScRsp>, IMessage, IEquatable<GetRaidInfoScRsp>, IDeepCloneable<GetRaidInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001945 RID: 6469
		// (get) Token: 0x0600590B RID: 22795 RVA: 0x000EFDF3 File Offset: 0x000EDFF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRaidInfoScRsp> Parser
		{
			get
			{
				return GetRaidInfoScRsp._parser;
			}
		}

		// Token: 0x17001946 RID: 6470
		// (get) Token: 0x0600590C RID: 22796 RVA: 0x000EFDFA File Offset: 0x000EDFFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRaidInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001947 RID: 6471
		// (get) Token: 0x0600590D RID: 22797 RVA: 0x000EFE0C File Offset: 0x000EE00C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRaidInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600590E RID: 22798 RVA: 0x000EFE13 File Offset: 0x000EE013
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRaidInfoScRsp()
		{
		}

		// Token: 0x0600590F RID: 22799 RVA: 0x000EFE3C File Offset: 0x000EE03C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRaidInfoScRsp(GetRaidInfoScRsp other) : this()
		{
			this.finishedRaidInfoList_ = other.finishedRaidInfoList_.Clone();
			this.challengeRaidList_ = other.challengeRaidList_.Clone();
			this.challengeTakenRewardIdList_ = other.challengeTakenRewardIdList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005910 RID: 22800 RVA: 0x000EFE9F File Offset: 0x000EE09F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRaidInfoScRsp Clone()
		{
			return new GetRaidInfoScRsp(this);
		}

		// Token: 0x17001948 RID: 6472
		// (get) Token: 0x06005911 RID: 22801 RVA: 0x000EFEA7 File Offset: 0x000EE0A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FinishedRaidInfo> FinishedRaidInfoList
		{
			get
			{
				return this.finishedRaidInfoList_;
			}
		}

		// Token: 0x17001949 RID: 6473
		// (get) Token: 0x06005912 RID: 22802 RVA: 0x000EFEAF File Offset: 0x000EE0AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChallengeRaid> ChallengeRaidList
		{
			get
			{
				return this.challengeRaidList_;
			}
		}

		// Token: 0x1700194A RID: 6474
		// (get) Token: 0x06005913 RID: 22803 RVA: 0x000EFEB7 File Offset: 0x000EE0B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ChallengeTakenRewardIdList
		{
			get
			{
				return this.challengeTakenRewardIdList_;
			}
		}

		// Token: 0x1700194B RID: 6475
		// (get) Token: 0x06005914 RID: 22804 RVA: 0x000EFEBF File Offset: 0x000EE0BF
		// (set) Token: 0x06005915 RID: 22805 RVA: 0x000EFEC7 File Offset: 0x000EE0C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005916 RID: 22806 RVA: 0x000EFED0 File Offset: 0x000EE0D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRaidInfoScRsp);
		}

		// Token: 0x06005917 RID: 22807 RVA: 0x000EFEE0 File Offset: 0x000EE0E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRaidInfoScRsp other)
		{
			return other != null && (other == this || (this.finishedRaidInfoList_.Equals(other.finishedRaidInfoList_) && this.challengeRaidList_.Equals(other.challengeRaidList_) && this.challengeTakenRewardIdList_.Equals(other.challengeTakenRewardIdList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005918 RID: 22808 RVA: 0x000EFF58 File Offset: 0x000EE158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.finishedRaidInfoList_.GetHashCode();
			num ^= this.challengeRaidList_.GetHashCode();
			num ^= this.challengeTakenRewardIdList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005919 RID: 22809 RVA: 0x000EFFC1 File Offset: 0x000EE1C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600591A RID: 22810 RVA: 0x000EFFC9 File Offset: 0x000EE1C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600591B RID: 22811 RVA: 0x000EFFD4 File Offset: 0x000EE1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.finishedRaidInfoList_.WriteTo(ref output, GetRaidInfoScRsp._repeated_finishedRaidInfoList_codec);
			this.challengeRaidList_.WriteTo(ref output, GetRaidInfoScRsp._repeated_challengeRaidList_codec);
			this.challengeTakenRewardIdList_.WriteTo(ref output, GetRaidInfoScRsp._repeated_challengeTakenRewardIdList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600591C RID: 22812 RVA: 0x000F0044 File Offset: 0x000EE244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.finishedRaidInfoList_.CalculateSize(GetRaidInfoScRsp._repeated_finishedRaidInfoList_codec);
			num += this.challengeRaidList_.CalculateSize(GetRaidInfoScRsp._repeated_challengeRaidList_codec);
			num += this.challengeTakenRewardIdList_.CalculateSize(GetRaidInfoScRsp._repeated_challengeTakenRewardIdList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600591D RID: 22813 RVA: 0x000F00BC File Offset: 0x000EE2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRaidInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.finishedRaidInfoList_.Add(other.finishedRaidInfoList_);
			this.challengeRaidList_.Add(other.challengeRaidList_);
			this.challengeTakenRewardIdList_.Add(other.challengeTakenRewardIdList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600591E RID: 22814 RVA: 0x000F012B File Offset: 0x000EE32B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600591F RID: 22815 RVA: 0x000F0134 File Offset: 0x000EE334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 18U)
					{
						this.finishedRaidInfoList_.AddEntriesFrom(ref input, GetRaidInfoScRsp._repeated_finishedRaidInfoList_codec);
						continue;
					}
					if (num == 34U)
					{
						this.challengeRaidList_.AddEntriesFrom(ref input, GetRaidInfoScRsp._repeated_challengeRaidList_codec);
						continue;
					}
				}
				else
				{
					if (num == 72U || num == 74U)
					{
						this.challengeTakenRewardIdList_.AddEntriesFrom(ref input, GetRaidInfoScRsp._repeated_challengeTakenRewardIdList_codec);
						continue;
					}
					if (num == 104U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040022AB RID: 8875
		private static readonly MessageParser<GetRaidInfoScRsp> _parser = new MessageParser<GetRaidInfoScRsp>(() => new GetRaidInfoScRsp());

		// Token: 0x040022AC RID: 8876
		private UnknownFieldSet _unknownFields;

		// Token: 0x040022AD RID: 8877
		public const int FinishedRaidInfoListFieldNumber = 2;

		// Token: 0x040022AE RID: 8878
		private static readonly FieldCodec<FinishedRaidInfo> _repeated_finishedRaidInfoList_codec = FieldCodec.ForMessage<FinishedRaidInfo>(18U, FinishedRaidInfo.Parser);

		// Token: 0x040022AF RID: 8879
		private readonly RepeatedField<FinishedRaidInfo> finishedRaidInfoList_ = new RepeatedField<FinishedRaidInfo>();

		// Token: 0x040022B0 RID: 8880
		public const int ChallengeRaidListFieldNumber = 4;

		// Token: 0x040022B1 RID: 8881
		private static readonly FieldCodec<ChallengeRaid> _repeated_challengeRaidList_codec = FieldCodec.ForMessage<ChallengeRaid>(34U, ChallengeRaid.Parser);

		// Token: 0x040022B2 RID: 8882
		private readonly RepeatedField<ChallengeRaid> challengeRaidList_ = new RepeatedField<ChallengeRaid>();

		// Token: 0x040022B3 RID: 8883
		public const int ChallengeTakenRewardIdListFieldNumber = 9;

		// Token: 0x040022B4 RID: 8884
		private static readonly FieldCodec<uint> _repeated_challengeTakenRewardIdList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x040022B5 RID: 8885
		private readonly RepeatedField<uint> challengeTakenRewardIdList_ = new RepeatedField<uint>();

		// Token: 0x040022B6 RID: 8886
		public const int RetcodeFieldNumber = 13;

		// Token: 0x040022B7 RID: 8887
		private uint retcode_;
	}
}
